<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<% response.setHeader("refresh", "3;URL=login.jsp");%>
<%--，注册成功五秒之后跳转到登录页面--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%--<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">--%>
<title>Insert title here</title>
</head>
<body>
<center>

	<font color="green" size="7" ></font>
	<script>
		var a = 3;
		var time = setInterval(function(){
			var font = document.querySelector("font");
			a--;
			font.innerHTML = "注册成功，"+a+"秒后自动跳转到登录页面";
			if(a == 1){
				clearInterval(time);
			}
		},1000);
	</script>
	</center>
</body>
</html>
